﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.Master" AutoEventWireup="True" CodeBehind="AutoPostback.aspx.cs" Inherits="ControlExplorer.C1Calendar.AutoPostback" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.3" Namespace="C1.Web.Wijmo.Controls.C1Calendar" TagPrefix="wijmo" %>


<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

<wijmo:C1Calendar ID="C1Calendar1" runat="server" AutoPostBack="true" ShowWeekNumbers="true"  
		onselecteddateschanged="C1Calendar1_SelectedDatesChanged">
	<SelectionMode Month="True" WeekDay="True" WeekNumber="True" />
</wijmo:C1Calendar>

<p>选择日期:</p>
	<asp:BulletedList ID="BulletedList1" runat="server">
	</asp:BulletedList>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Description" Runat="Server">
<p>
当客户端选择了一个日期以后，日历会自动回传这个日期。
</p>

<p>
如果<strong>AutoPostBack </strong>属性被设置为True的话，自动回传功能就能使用了。
</p>

<p>
通过<strong>SelectedDatesChanged</strong> 事件，用户可以从服务器端获得被选择的日期。
</p>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" Runat="Server">
</asp:Content>

